#ifndef __HARDWARE_RECV_SEND_H
#define	__HARDWARE_RECV_SEND_H
/****************************/

//#include "usart.h"

#define USE_UART_1 1
#define USE_UART_2 0

#define USART1_REC_LEN  		4096  	//定义最大接收字节数必须是8 的整数倍

#if USE_UART_1
//extern UART_HandleTypeDef huart1;
#endif

#if USE_UART_2
extern UART_HandleTypeDef huart2;
#endif
/****************************/
typedef unsigned char 			uint8_t;
typedef unsigned short int 		uint16_t;
typedef unsigned int        	uint32_t;
/****************************/
void uart1_send_byte(uint8_t data);

void HAL_UART_RxCpltCallback(uint8_t data);

/****************************/
#endif
